from celery import Celery

app = Celery(
    'image_tasks',
    broker='redis://localhost:6357/1',
    backend='redis://localhost:6357/2',
    include=['tasks']
)